3.330 \(\int \frac{x^2}{\left (3+2 x^2\right ) \sqrt{1+2 x^2+2 x^4}} \, dx\)

Optimal. Leaf size=280 \[ \frac{\sqrt{\frac{3}{10}} \left (3-\sqrt{2}\right ) \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{2 x^4+2 x^2+1}}\right )}{2 \left (2-3 \sqrt{2}\right )}+\frac{\left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{2 \sqrt [4]{2} \left (2-3 \sqrt{2}\right ) \sqrt{2 x^4+2 x^2+1}}-\frac{\left (3+\sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{4\ 2^{3/4} \left (2-3 \sqrt{2}\right ) \sqrt{2 x^4+2 x^2+1}} \]

[Out]

(Sqrt[3/10]*(3 - Sqrt[2])*ArcTan[(Sqrt[5/3]*x)/Sqrt[1 + 2*x^2 + 2*x^4]])/(2*(2 -
 3*Sqrt[2])) + ((1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]*x^2)^2]*
EllipticF[2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(2*2^(1/4)*(2 - 3*Sqrt[2])*Sqrt
[1 + 2*x^2 + 2*x^4]) - ((3 + Sqrt[2])*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)
/(1 + Sqrt[2]*x^2)^2]*EllipticPi[(12 - 11*Sqrt[2])/24, 2*ArcTan[2^(1/4)*x], (2 -
 Sqrt[2])/4])/(4*2^(3/4)*(2 - 3*Sqrt[2])*Sqrt[1 + 2*x^2 + 2*x^4])

_______________________________________________________________________________________

Rubi [A]  time = 0.395794, antiderivative size = 280, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.103 \[ \frac{\sqrt{\frac{3}{10}} \left (3-\sqrt{2}\right ) \tan ^{-1}\left (\frac{\sqrt{\frac{5}{3}} x}{\sqrt{2 x^4+2 x^2+1}}\right )}{2 \left (2-3 \sqrt{2}\right )}+\frac{\left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} F\left (2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{2 \sqrt [4]{2} \left (2-3 \sqrt{2}\right ) \sqrt{2 x^4+2 x^2+1}}-\frac{\left (3+\sqrt{2}\right ) \left (\sqrt{2} x^2+1\right ) \sqrt{\frac{2 x^4+2 x^2+1}{\left (\sqrt{2} x^2+1\right )^2}} \Pi \left (\frac{1}{24} \left (12-11 \sqrt{2}\right );2 \tan ^{-1}\left (\sqrt [4]{2} x\right )|\frac{1}{4} \left (2-\sqrt{2}\right )\right )}{4\ 2^{3/4} \left (2-3 \sqrt{2}\right ) \sqrt{2 x^4+2 x^2+1}} \]

Antiderivative was successfully verified.

[In]  Int[x^2/((3 + 2*x^2)*Sqrt[1 + 2*x^2 + 2*x^4]),x]

[Out]

(Sqrt[3/10]*(3 - Sqrt[2])*ArcTan[(Sqrt[5/3]*x)/Sqrt[1 + 2*x^2 + 2*x^4]])/(2*(2 -
 3*Sqrt[2])) + ((1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)/(1 + Sqrt[2]*x^2)^2]*
EllipticF[2*ArcTan[2^(1/4)*x], (2 - Sqrt[2])/4])/(2*2^(1/4)*(2 - 3*Sqrt[2])*Sqrt
[1 + 2*x^2 + 2*x^4]) - ((3 + Sqrt[2])*(1 + Sqrt[2]*x^2)*Sqrt[(1 + 2*x^2 + 2*x^4)
/(1 + Sqrt[2]*x^2)^2]*EllipticPi[(12 - 11*Sqrt[2])/24, 2*ArcTan[2^(1/4)*x], (2 -
 Sqrt[2])/4])/(4*2^(3/4)*(2 - 3*Sqrt[2])*Sqrt[1 + 2*x^2 + 2*x^4])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 29.1523, size = 308, normalized size = 1.1 \[ \frac{3 \sqrt [4]{2} \sqrt{\frac{2 x^{4} + 2 x^{2} + 1}{\left (\sqrt{2} x^{2} + 1\right )^{2}}} \left (\sqrt{2} x^{2} + 1\right ) F\left (2 \operatorname{atan}{\left (\sqrt [4]{2} x \right )}\middle | - \frac{\sqrt{2}}{4} + \frac{1}{2}\right )}{4 \left (- 3 \sqrt{2} + 2\right ) \sqrt{2 x^{4} + 2 x^{2} + 1}} + \frac{2^{\frac{3}{4}} \sqrt{\frac{2 x^{4} + 2 x^{2} + 1}{\left (\sqrt{2} x^{2} + 1\right )^{2}}} \left (\sqrt{2} x^{2} + 1\right ) F\left (2 \operatorname{atan}{\left (\sqrt [4]{2} x \right )}\middle | - \frac{\sqrt{2}}{4} + \frac{1}{2}\right )}{8 \sqrt{2 x^{4} + 2 x^{2} + 1}} - \frac{2^{\frac{3}{4}} \sqrt{\frac{2 x^{4} + 2 x^{2} + 1}{\left (\sqrt{2} x^{2} + 1\right )^{2}}} \left (2 + 3 \sqrt{2}\right ) \left (\sqrt{2} x^{2} + 1\right ) \Pi \left (- \frac{11 \sqrt{2}}{24} + \frac{1}{2}; 2 \operatorname{atan}{\left (\sqrt [4]{2} x \right )}\middle | - \frac{\sqrt{2}}{4} + \frac{1}{2}\right )}{16 \left (- 3 \sqrt{2} + 2\right ) \sqrt{2 x^{4} + 2 x^{2} + 1}} - \frac{\sqrt{15} \operatorname{atan}{\left (\frac{\sqrt{15} x}{3 \sqrt{2 x^{4} + 2 x^{2} + 1}} \right )}}{20} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**2/(2*x**2+3)/(2*x**4+2*x**2+1)**(1/2),x)

[Out]

3*2**(1/4)*sqrt((2*x**4 + 2*x**2 + 1)/(sqrt(2)*x**2 + 1)**2)*(sqrt(2)*x**2 + 1)*
elliptic_f(2*atan(2**(1/4)*x), -sqrt(2)/4 + 1/2)/(4*(-3*sqrt(2) + 2)*sqrt(2*x**4
 + 2*x**2 + 1)) + 2**(3/4)*sqrt((2*x**4 + 2*x**2 + 1)/(sqrt(2)*x**2 + 1)**2)*(sq
rt(2)*x**2 + 1)*elliptic_f(2*atan(2**(1/4)*x), -sqrt(2)/4 + 1/2)/(8*sqrt(2*x**4
+ 2*x**2 + 1)) - 2**(3/4)*sqrt((2*x**4 + 2*x**2 + 1)/(sqrt(2)*x**2 + 1)**2)*(2 +
 3*sqrt(2))*(sqrt(2)*x**2 + 1)*elliptic_pi(-11*sqrt(2)/24 + 1/2, 2*atan(2**(1/4)
*x), -sqrt(2)/4 + 1/2)/(16*(-3*sqrt(2) + 2)*sqrt(2*x**4 + 2*x**2 + 1)) - sqrt(15
)*atan(sqrt(15)*x/(3*sqrt(2*x**4 + 2*x**2 + 1)))/20

_______________________________________________________________________________________

Mathematica [C]  time = 0.0950225, size = 99, normalized size = 0.35 \[ \frac{(1-i)^{3/2} \sqrt{1+(1-i) x^2} \sqrt{1+(1+i) x^2} \left (F\left (\left .i \sinh ^{-1}\left (\sqrt{1-i} x\right )\right |i\right )-\Pi \left (\frac{1}{3}+\frac{i}{3};\left .i \sinh ^{-1}\left (\sqrt{1-i} x\right )\right |i\right )\right )}{4 \sqrt{2 x^4+2 x^2+1}} \]

Antiderivative was successfully verified.

[In]  Integrate[x^2/((3 + 2*x^2)*Sqrt[1 + 2*x^2 + 2*x^4]),x]

[Out]

((1 - I)^(3/2)*Sqrt[1 + (1 - I)*x^2]*Sqrt[1 + (1 + I)*x^2]*(EllipticF[I*ArcSinh[
Sqrt[1 - I]*x], I] - EllipticPi[1/3 + I/3, I*ArcSinh[Sqrt[1 - I]*x], I]))/(4*Sqr
t[1 + 2*x^2 + 2*x^4])

_______________________________________________________________________________________

Maple [C]  time = 0.011, size = 134, normalized size = 0.5 \[{\frac{{\it EllipticF} \left ( x\sqrt{-1+i},{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) }{2\,\sqrt{-1+i}}\sqrt{1+ \left ( 1-i \right ){x}^{2}}\sqrt{1+ \left ( 1+i \right ){x}^{2}}{\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}}-{\frac{1}{2\,\sqrt{-1+i}}\sqrt{-i{x}^{2}+{x}^{2}+1}\sqrt{i{x}^{2}+{x}^{2}+1}{\it EllipticPi} \left ( x\sqrt{-1+i},{\frac{1}{3}}+{\frac{i}{3}},{\frac{\sqrt{-1-i}}{\sqrt{-1+i}}} \right ){\frac{1}{\sqrt{2\,{x}^{4}+2\,{x}^{2}+1}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^2/(2*x^2+3)/(2*x^4+2*x^2+1)^(1/2),x)

[Out]

1/2/(-1+I)^(1/2)*(1+(1-I)*x^2)^(1/2)*(1+(1+I)*x^2)^(1/2)/(2*x^4+2*x^2+1)^(1/2)*E
llipticF(x*(-1+I)^(1/2),1/2*2^(1/2)+1/2*I*2^(1/2))-1/2/(-1+I)^(1/2)*(-I*x^2+x^2+
1)^(1/2)*(I*x^2+x^2+1)^(1/2)/(2*x^4+2*x^2+1)^(1/2)*EllipticPi(x*(-1+I)^(1/2),1/3
+1/3*I,(-1-I)^(1/2)/(-1+I)^(1/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{2 \, x^{4} + 2 \, x^{2} + 1}{\left (2 \, x^{2} + 3\right )}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/(sqrt(2*x^4 + 2*x^2 + 1)*(2*x^2 + 3)),x, algorithm="maxima")

[Out]

integrate(x^2/(sqrt(2*x^4 + 2*x^2 + 1)*(2*x^2 + 3)), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{x^{2}}{\sqrt{2 \, x^{4} + 2 \, x^{2} + 1}{\left (2 \, x^{2} + 3\right )}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/(sqrt(2*x^4 + 2*x^2 + 1)*(2*x^2 + 3)),x, algorithm="fricas")

[Out]

integral(x^2/(sqrt(2*x^4 + 2*x^2 + 1)*(2*x^2 + 3)), x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\left (2 x^{2} + 3\right ) \sqrt{2 x^{4} + 2 x^{2} + 1}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**2/(2*x**2+3)/(2*x**4+2*x**2+1)**(1/2),x)

[Out]

Integral(x**2/((2*x**2 + 3)*sqrt(2*x**4 + 2*x**2 + 1)), x)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{2}}{\sqrt{2 \, x^{4} + 2 \, x^{2} + 1}{\left (2 \, x^{2} + 3\right )}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x^2/(sqrt(2*x^4 + 2*x^2 + 1)*(2*x^2 + 3)),x, algorithm="giac")

[Out]

integrate(x^2/(sqrt(2*x^4 + 2*x^2 + 1)*(2*x^2 + 3)), x)